import { Column, Entity } from 'typeorm'
import { CommonEntity } from '~/common/entity/common.entity'

@Entity({ name: 'c_student_expire_log' })
export class StudentExpireLogEntity extends CommonEntity {
  @Column({ name: 'student_id' })
  studentId: number

  @Column({ name: 'start_at', type: 'datetime' })
  startAt: Date

  @Column({ name: 'expire_at', type: 'datetime' })
  expireAt: Date
}